package ace.cmp.security.core.impl.model.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author caspar
 * @date 2023/7/31 17:23 代表 Introspect Principal的类型
 */
@Getter
@AllArgsConstructor
public class AceDefaultIntrospectPrincipalType implements AceIntrospectPrincipalType {
  private String type;

  @Override
  public boolean is(String type) {
    return this.type.equals(type);
  }
}
